package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallAttachmentGroupDao;
import com.appkubes.mall.core.entity.MallAttachmentGroup;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallAttachmentGroupService extends AbstractBaseService<BaseMallAttachmentGroupDao, MallAttachmentGroup> {

    MallAttachmentGroup getOneByEntity(MallAttachmentGroup entity);

    List<MallAttachmentGroup> selectListByEntity(MallAttachmentGroup entity);

    IPage<MallAttachmentGroup> selectPageByEntity(IPage<MallAttachmentGroup> page);
    IPage<MallAttachmentGroup> selectPageByEntity(PageVO pageVO);

    IPage<MallAttachmentGroup> selectPageByEntity(MallAttachmentGroup entity, IPage<MallAttachmentGroup> page);
    IPage<MallAttachmentGroup> selectPageByEntity(MallAttachmentGroup entity, PageVO pageVO);

    IPage<MallAttachmentGroup> selectPageByEntity(MallAttachmentGroup entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallAttachmentGroup entity);
}
